package com.qfedu.mtl.dao;


import com.qfedu.mtl.entity.Orders;
import com.qfedu.mtl.query.OrderQuery;

import java.util.List;

/**
 * @version v1.0
 * @Date 2023/9/26 19:37
 * @Author 浪里小白条
 * @Email corday@qq.com
 */
public interface OdersDao {
    //查询全部订单
    Orders selectAllOrder();

    //删除订单
    Integer deleteById(Integer id);
    //修改订单
    int update(Orders orders);

    //分页查询
    List<Orders> selectPageData(Integer page, Integer size, OrderQuery orderQuery);

    Integer selectCount(OrderQuery orderQuery);
}
